/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package ighembaza.android;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 *
 * @author ighembaza
 */
public class AutreActivity extends Activity {
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        //on va cherchr la vue
        setContentView(R.layout.autrevue);
        TextView label = (TextView)findViewById(R.id.label);
        Intent inter = getIntent();
        String nom = inter.getStringExtra("leNom");
        label.setText(nom);
    }
    
}
